package cn.gqr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Date;

@Data
@TableName("t_book")
public class Book {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String sn;

    private Double price;

    private String publisher;

    private Date publishTime;

    private String picture;

    private Integer typeId;

    private String author;

    private int rate;

    private int favnum;

    private int salenum;

}
